Fix for bug #143460 - missed tablet clicks on Windows
authorRobert Oegren <gtk@roboros.com>
Fri, 19 Jan 2007 02:38:46 +0000 (02:38 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 19 Jan 2007 02:38:46 +0000 (02:38 +0000)
commitf7687a8b9c32c6b47fc30d753a5eb440ab01a828
tree89d06439584a10a12dc0ddc3978accc196159397
parenta9867ab07252036e669a16a049aa95de5a7ec629
Fix for bug #143460 - missed tablet clicks on Windows

2007-01-19  Robert Oegren  <gtk@roboros.com>

Fix for bug #143460 - missed tablet clicks on Windows

* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
Request absolute reporting of tablet button state, and cut down
the packet queue size a bit.
(_gdk_input_other_event): Change button state handling
accordingly. Also drop the no longer necessary code that detects
missed clicks/releases for button 1. The switch to absolute button
state should prevent missed events for all buttons. Additionally,
swap button 2 and 3.
(_gdk_input_grab_pointer): Don't reset button_state, that will only
cause a new press event as soon as the next tablet packet arrives.

svn path=/trunk/; revision=17188
ChangeLog
gdk/win32/gdkinput-win32.c